<div class="col-md-4 col-md-offset-2  main">
  <div class="form-group">
    <h3>按子网搜索</h3>
    <div class="input-group">
      <input ng-model="ipp0" type="text" class="form-control" >
      <div class="input-group-addon">.</div>    
      <input ng-model="ipp1" type="text" class="form-control" >
      <div class="input-group-addon">.</div>  
      <input ng-model="ipp2" type="text" class="form-control" >
      <div class="input-group-addon">.</div>  
      <input ng-model="ipp3" type="text" class="form-control" >              
    </div>
  </div>
</div>

<div class="col-md-4  main">
  <table class="table table-hover">
    <thead>
      <tr>
        <th>子网</th>
        <th>主机数</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="sub in sbs|ipfilter:{f:'network',m:[ipp0,ipp1,ipp2,ipp3]}" >    
        <td><a ng-href="#/subnet/{{sub.network}}">{{sub.network}}</a></td>
        <td>{{sub.count}}</td>
      </tr>
    </tbody>
  </table>
</div>

